<!DOCTYPE html>
<html>
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>nohr 好工作就在这里</title>
      <link rel="stylesheet" href="static/css/reset-min.css"/>
      <link rel="stylesheet/less" type="text/css" href="static/css/home.less"/>
      <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
      <script src="static/js/lib/less-1.3.0.min.js"></script>
    </head>
    <body>
        <header id="header"></header>
        <nav id="nav">
            <ul>
                <li><button id="search" title="马上查找"></button></li>
                <li><button id="zp" title="招聘信息"></button></li>
                <li><button id="jl" class="active" title="人才信息"></button></li>
            </ul>
        </nav>
        <div id="main">
            <!--
            <div class="tab">
                <div>
                    <h3 id="zhaopin">招聘信息</h3>
                </div>
                <div>
                    <h3 id="rencai">人才信息</h3>
                </div>
            </div>
            -->
            <div id="wrapper">
                <div id="zhaopinItems" class="items animated hinge slice">
                    <% data.forEach(function ( item ) { %>
                        <% item.ctime = item.ctime.slice(0, 10) %>
                        <div data-jid="<%= item.jid%>">
                            <h3>职位名称: <%= item.jname%></h3>
                            <em>发布时间: <%= item.ctime%></em>
                            <em>招聘人数: <%= item.number%>人</em>
                            <em>工作地点: <%= item.workplace%></em>
                        </div>
                    <% }) %>
                </div>
                <div id="rencaiItems" class="items">
                    
                </div>
            </div>
            
            <!--
            <footer>
                <div id="search">
                    <input type="search" />
                </div>
            </footer>
            -->
        </div> 
                
        <script src="static/js/lib/??sea.js,plugin-combo.js"></script>
        <script src="static/js/lib/jquery-1.7.2.min.js"></script>
        <script src="static/js/lib/??underscore.js,backbone.js,ejs.min.js"></script>
        <script>
            seajs.config({
                /**
                alias: {
                    'jquery': 'jquery-1.7.2.min.js',
                    'uds'   : 'underscore.js',
                    'bb'    : 'backbone.js',
                    'ls'    : 'backbone-localstorage.js'
                    // 'a'     : 'a.js'
                    // 'todos' : '/static/js/todos/todos'
                },
                */
                base: '/static',
                debug: true
            }).use('/js/init');
        </script>
  </body>
</html>
